package com.ilongsay.entity;

import com.alibaba.fastjson.annotation.JSONField;


import java.io.Serializable;
import java.util.List;

/**
 * @Author ilongsay
 * @Email ilongsay@163.com
 * @Copyright 版本所有，侵权必究！
 * @Datetime 2018-10-16 23:34
 * @Describution
 */

public class FaPiao implements Serializable{
    private static final long serialVersionUID = 1L;
    @JSONField(ordinal = 1)
    private String num="1";
    //汇总表entity
    @JSONField(ordinal = 2)
    private Integer id;//ID
    @JSONField(ordinal = 3)
    private String uid;//本地数据库id，uuid
    @JSONField(ordinal = 4)
    private String billCode;//单据编号,必填用来区分发票张数
    @JSONField(ordinal = 5)
    private String customCode;//客户编号
    @JSONField(ordinal = 6)
    private String taxNum;//客户税号，必填
    @JSONField(ordinal = 7)
    private String customName;//客户名称（必填）
    @JSONField(ordinal = 8)
    private String addressTel;//地址电话，中间以空格间隔（转票必填）
    @JSONField(ordinal = 9)
    private String bankInfo;//银行名称以及银行帐号信息，专票必填
    @JSONField(ordinal = 10)
    private String note;//备注
    @JSONField(ordinal = 11)
    private String SKR;//收款人，组件参数可以配置默认，若需要改动可以填上
    @JSONField(ordinal = 12)
    private String FHR;//复核人，组件参数可以配置默认，若需要改动可以填上
    @JSONField(ordinal = 13)
    private String billType;//发票类型（必填）：s专用发票；c普通发票；c1电子发票；c2收购发票
    @JSONField(ordinal = 14)
    private String saleBank;//销方银行帐号
    @JSONField(ordinal = 15)
    private String email;//客户邮箱（电子发票，仅支持百望）
    @JSONField(ordinal = 16)
    private String mobPhone;//客户手机号（电子发票，仅支持百望）
    @JSONField(ordinal = 17)
    private String wxham;//客户微信号（电子发票，仅支持百望）
    @JSONField(ordinal = 18)
    private String isCEFP;//是否是差额发票
    @JSONField(ordinal = 19)
    private String isSix;//是否是6分钱误差
    @JSONField(ordinal = 20)
    private String isError;//明细是否符合计算关系
    @JSONField(ordinal = 21)
    private String isRather;//判断是否超过限额
    @JSONField(ordinal = 22)
    private String untotal;//汇总未税金额
    @JSONField(ordinal = 23)
    private String total;//汇总含税金额
    @JSONField(ordinal = 24)
    private String taxAmount;//汇总税额
    @JSONField(ordinal = 25)
    private List<FaPiaoDetail> faPiaoDetails;//明细信息的集合

    @Override
    public String toString() {
        return "FaPiao{" +
                "num='" + num + '\'' +
                ", id=" + id +
                ", uid='" + uid + '\'' +
                ", billCode='" + billCode + '\'' +
                ", customCode='" + customCode + '\'' +
                ", taxNum='" + taxNum + '\'' +
                ", customName='" + customName + '\'' +
                ", addressTel='" + addressTel + '\'' +
                ", bankInfo='" + bankInfo + '\'' +
                ", note='" + note + '\'' +
                ", SKR='" + SKR + '\'' +
                ", FHR='" + FHR + '\'' +
                ", billType='" + billType + '\'' +
                ", saleBank='" + saleBank + '\'' +
                ", email='" + email + '\'' +
                ", mobPhone='" + mobPhone + '\'' +
                ", wxham='" + wxham + '\'' +
                ", isCEFP='" + isCEFP + '\'' +
                ", isSix='" + isSix + '\'' +
                ", isError='" + isError + '\'' +
                ", isRather='" + isRather + '\'' +
                ", untotal='" + untotal + '\'' +
                ", total='" + total + '\'' +
                ", taxAmount='" + taxAmount + '\'' +
                ", faPiaoDetails=" + faPiaoDetails +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public String getCustomCode() {
        return customCode;
    }

    public void setCustomCode(String customCode) {
        this.customCode = customCode;
    }

    public String getTaxNum() {
        return taxNum;
    }

    public void setTaxNum(String taxNum) {
        this.taxNum = taxNum;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getAddressTel() {
        return addressTel;
    }

    public void setAddressTel(String addressTel) {
        this.addressTel = addressTel;
    }

    public String getBankInfo() {
        return bankInfo;
    }

    public void setBankInfo(String bankInfo) {
        this.bankInfo = bankInfo;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getSKR() {
        return SKR;
    }

    public void setSKR(String SKR) {
        this.SKR = SKR;
    }

    public String getFHR() {
        return FHR;
    }

    public void setFHR(String FHR) {
        this.FHR = FHR;
    }

    public String getBillType() {
        return billType;
    }

    public void setBillType(String billType) {
        this.billType = billType;
    }

    public String getSaleBank() {
        return saleBank;
    }

    public void setSaleBank(String saleBank) {
        this.saleBank = saleBank;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobPhone() {
        return mobPhone;
    }

    public void setMobPhone(String mobPhone) {
        this.mobPhone = mobPhone;
    }

    public String getWxham() {
        return wxham;
    }

    public void setWxham(String wxham) {
        this.wxham = wxham;
    }

    public String getIsCEFP() {
        return isCEFP;
    }

    public void setIsCEFP(String isCEFP) {
        this.isCEFP = isCEFP;
    }

    public String getIsSix() {
        return isSix;
    }

    public void setIsSix(String isSix) {
        this.isSix = isSix;
    }

    public String getIsError() {
        return isError;
    }

    public void setIsError(String isError) {
        this.isError = isError;
    }

    public String getIsRather() {
        return isRather;
    }

    public void setIsRather(String isRather) {
        this.isRather = isRather;
    }

    public String getUntotal() {
        return untotal;
    }

    public void setUntotal(String untotal) {
        this.untotal = untotal;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getTaxAmount() {
        return taxAmount;
    }

    public void setTaxAmount(String taxAmount) {
        this.taxAmount = taxAmount;
    }

    public List<FaPiaoDetail> getFaPiaoDetails() {
        return faPiaoDetails;
    }

    public void setFaPiaoDetails(List<FaPiaoDetail> faPiaoDetails) {
        this.faPiaoDetails = faPiaoDetails;
    }
}
